import { navbar } from "vuepress-theme-hope";

export default navbar([
  // "/", // 隐藏主页在上导航栏

  ////////////////////////////////////////=================
  {
    text: "编程技术",
    icon: "laptop-code",
    prefix: "/codes/",
    children: [
      {
        text: "推荐悦读", icon: "book-reader", prefix: "read/",
        children: [
            { text: "整体介绍", icon: "atlas",  link: "" },
            { text: "重点推荐", icon: "cookie", link: "" },],
      },
      {
        text: "Java技术", icon: "java", prefix: "java/",
        children: [
          { text: "Java基础", icon: "file-code",     link: "basis/" },
          { text: "JVM进阶",  icon: "atom",          link: "jvm/" },
          { text: "Web技术",  icon: "server",        link: "web/" },
          { text: "NIO详解",  icon: "network-wired", link: "nio/" },
          { text: "ORM使用",  icon: "store",         link: "orm/" },
          { text: "Java工具", icon: "toolbox",       link: "tool/" },
        ],
      },
      {
        text: "Spring体系", icon: "pagelines", prefix: "spring/",
        children: [
          { text: "spring源码分析系列",     icon: "code",  link: "spring-codes/" },
          { text: "springboot源码分析系列", icon: "code",  link: "springboot-codes/" },
          { text: "spring最佳实践",        icon: "leaf",  link: "spring-best/" },
          { text: "springboot最佳实践",    icon: "leaf",  link: "springboot-best/" },
        ],
      },
      {
        text: "数据库技术", icon: "database", prefix: "database/",
        children: [
          { text: "数据库原理", icon: "database",   link: "db/" },
          { text: "MySQL经验", icon: "database",   link: "mysql/" },
          { text: "Redis宝典", icon: "database",   link: "redis/" },
          { text: "MongoDB应用", icon: "database", link: "mongo/" },
        ],
      },
    ],
  },

  ////////////////////////////////////////=================
  {
    text: "微服务架构", icon: "globe", prefix: "/msa/",
    children: [
      {
        text: "Dubbo技术体系", icon: "user-graduate", prefix: "dubbo/",
        children: [
          { text: "技术介绍", icon: "chart-bar", link: "intro" },
          { text: "源码分析", icon: "chart-bar", link: "summary" },
          { text: "实践经验", icon: "chart-bar", link: "feed" },
        ],
      },
      {
        text: "SpringCloud技术体系", icon: "user-graduate", prefix: "springcloud/",
        children: [
          { text: "技术介绍", icon: "chart-bar", link: "intro" },
          { text: "源码分析", icon: "chart-bar", link: "summary" },
          { text: "实践经验", icon: "chart-bar", link: "feed" },
        ],
      },
      {
        text: "微服务实战项目", icon: "user-graduate", prefix: "msa-in-action/",
        children: [
          { text: "项目介绍", icon: "chart-bar", link: "intro" },
          { text: "项目设计", icon: "chart-bar", link: "design" },
          { text: "项目仓库", icon: "chart-bar", link: "repo" },
        ],
      },
      {
        text: "微服务深度分析", icon: "user-graduate", prefix: "msa-advance/",
        children: [
          { text: "微服务最佳实践", icon: "chart-bar", link: "best/" },
          { text: "微服务架构案例",    icon: "chart-bar", link: "case/" },
          { text: "微服务日常思考",    icon: "chart-bar", link: "daily/" },
        ],
      },
    ],
  },

  ////////////////////////////////////////=================
  {
    text: "训练营实战", icon: "user-graduate", prefix: "/camps/",
    children: [
      {
        text: "Java进阶训练营⭐", icon: "user-graduate", prefix: "java-course/",
        children: [
          { text: "课程介绍", icon: "chart-bar", link: "intro" },
          { text: "课程大纲", icon: "chart-bar", link: "summary" },
          { text: "课程反馈", icon: "chart-bar", link: "feed" },
        ],
      },
      {
        text: "KK架构训练营⭐", icon: "user-graduate", prefix: "arch-course/",
        children: [
          { text: "课程介绍", icon: "chart-bar", link: "intro" },
          { text: "课程大纲", icon: "chart-bar", link: "summary" },
          { text: "课程反馈", icon: "chart-bar", link: "feed" },
        ],
      },
      {
        text: "2024架构全营⭐", icon: "user-graduate", prefix: "arch-camp/",
        children: [
          { text: "课程介绍", icon: "chart-bar", link: "intro" },
          { text: "课程大纲", icon: "chart-bar", link: "summary" },
          { text: "天工营",   icon: "chart-bar", link: "tiangong" },
          { text: "设计营",   icon: "chart-bar", link: "design" },
          { text: "实践营",   icon: "chart-bar", link: "practice" },
        ],
      },
      {
        text: "知识星球", icon: "globe", prefix: "star/",
        children: [
          { text: "Java进阶训练营⭐",  icon: "star",    link: "java" },
          { text: "KK架构训练营",    icon: "globe",   link: "kkac" },
          { text: "微服务架构(免费)", icon: "sitemap", link: "msa" },
        ],
      },
    ],
  },

  ////////////////////////////////////////=================
  {
    text: "综合技术", icon: "coins", prefix: "/others/",
    children: [
      {
        text: "云原生", icon: "dharmachakra", prefix: "cloudnative/",
        children: [
          { text: "容器技术",   icon: "fish",          link: "docker/" },
          { text: "K8S实践",       icon: "dharmachakra",  link: "k8s/" },
          { text: "服务网格",   icon: "th",            link: "istio/" },
          { text: "持续集成",   icon: "robot",         link: "cicd/" },
        ],
      },
      {
        text: "操作系统", icon: "dharmachakra", prefix: "operator/",
        children: [
          { text: "Linux使用经验",   icon: "power-off",  link: "linux/" },
          { text: "Linux原理分析",   icon: "power-off",  link: "advance/" },
          { text: "Linux性能优化",   icon: "power-off",  link: "tuning/" },
        ],
      },
      {
        text: "研发管理", icon: "user-tie", prefix: "dev/",
        children: [
          { text: "研发流程",   icon: "box",      link: "progress/" },
          { text: "研发效能",   icon: "tools",    link: "devops/" },
          { text: "管理经验",   icon: "th-list",  link: "manage/" },
        ],
      },
      {
        text: "研发工具", icon: "wrench", prefix: "dev/",
        children: [
          { text: "开发工具",   icon: "wrench",       link: "dev-tool/" },
          { text: "版本工具",   icon: "code-branch",  link: "version-tool/" },
          { text: "其他工具",   icon: "th-list",      link: "other-tool/" },
        ],
      },
      {
        text: "读书推荐", icon: "book", prefix: "book/",
        children: [{ text: "好书清单", icon: "book-open", link: "" }],
      },
    ],
  },

  ////////////////////////////////////////=================
  {
    text: "职业发展", icon: "users", prefix: "/works/",
    children: [
      {
        text: "面试经验", icon: "user-tie", prefix: "interview/",
        children: [{ text: "面试辅导⭐", icon: "people-arrows",   link: "1v1/" },
                   { text: "面试题库",   icon: "question-circle", link: "faq/" },
                   { text: "面试经验",   icon: "thumbs-up",       link: "best/" },
                   { text: "offer选择", icon: "compass",         link: "offer/" },
        ],
      },
      {
        text: "职业规划", icon: "plane", prefix: "plan/",
        children: [
            { text: "规划辅导⭐", icon: "dove",        link: "help" },
            { text: "发展路线",   icon: "chart-line",  link: "salary" },
            { text: "大厂薪资",   icon: "yen-sign",    link: "salary-list" },
            { text: "薪资测算",   icon: "calculator",  link: "salary-calc/" },
            { text: "水平测试",   icon: "diagnoses",  link: "level-test/" },
        ],
      },
    ],
  },

  ////////////////////////////////////////=================
  {
    text: "关于网站", icon: "message", prefix: "/about/",
    children: [
      {
        text: "作者介绍", icon: "award", prefix: "kk/",
        children: [
          { text: "个人介绍",   icon: "user-circle",  link: "author" },
          { text: "分享经历",   icon: "share-square", link: "share" },
          { text: "培训清单",   icon: "tasks",        link: "train" },
          { text: "著作专栏",   icon: "book",        link: "opus" },],
      },
      {
        text: "网站信息", icon: "info-circle", prefix: "siteinfo/",
        children: [{ text: "关于学院", icon: "university", link: "" }],
      },
      {
        text: "咨询培训", icon: "briefcase", prefix: "business/",
        children: [
          { text: "业务范围⭐️",   icon: "th",       link: "scope" },
          { text: "咨询案例",     icon: "list-alt",  link: "consult-case" },
          { text: "培训案例",     icon: "table",     link: "train-case" },
          { text: "合作机构",     icon: "building",  link: "partner" },],
      },
    ],
  },

  ////////////////////////////////////////=================
  {
    text: "学习路线图", icon: "route",
    link: "https://kimmking.cn/blog/", // 超链接到其他网网站
  },
]);
